﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using SCS.Web.UI.WebControls;

public partial class ButtonsOnlySample : System.Web.UI.Page 
{
    public void Toolbar1_ButtonClicked(object sender, ButtonEventArgs e)
    {
        ButtonClickedText.Text = "Item Selected: "
            + ((e.SourceButton.Text != "") ? e.SourceButton.Text : e.SourceButton.Index.ToString());
    }
}
